package edu.scau.misp.backend_module.domain;

import java.io.Serializable;

public class Dish implements Serializable {

    private Long dishId;
    private Long dishSn;
    private String dishName;

    private Long categoryId;
    private Category category;
    private String dishDescription;
    private Long isAvailable;

    private String imageUrl;

    public Dish() {
    }

    public Dish(Long dishId, Long dishSn, String dishName, Long categoryId, Category category, String dishDescription, Long isAvailable, String imageUrl) {
        this.dishId = dishId;
        this.dishSn = dishSn;
        this.dishName = dishName;
        this.categoryId = categoryId;
        this.category = category;
        this.dishDescription = dishDescription;
        this.isAvailable = isAvailable;
        this.imageUrl = imageUrl;
    }

    @Override
    public String toString() {
        return "Dish{" +
                "dishId=" + dishId +
                ", dishSn=" + dishSn +
                ", dishName='" + dishName + '\'' +
                ", categoryId=" + categoryId +
                ", category=" + category +
                ", dishDescription='" + dishDescription + '\'' +
                ", isAvailable=" + isAvailable +
                ", imageUrl='" + imageUrl + '\'' +
                '}';
    }

    public Long getDishId() {
        return dishId;
    }

    public void setDishId(Long dishId) {
        this.dishId = dishId;
    }

    public Long getDishSn() {
        return dishSn;
    }

    public void setDishSn(Long dishSn) {
        this.dishSn = dishSn;
    }

    public String getDishName() {
        return dishName;
    }

    public void setDishName(String dishName) {
        this.dishName = dishName;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public String getDishDescription() {
        return dishDescription;
    }

    public void setDishDescription(String dishDescription) {
        this.dishDescription = dishDescription;
    }

    public Long getIsAvailable() {
        return isAvailable;
    }

    public void setIsAvailable(Long isAvailable) {
        this.isAvailable = isAvailable;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }
}
